﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO
{
    public class ConsumeItemQuery : PageQuery
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public string disabled { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string begin_time { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string end_time { get; set; }
    }
    /// <summary>
    /// 
    /// </summary>
    public class ConsumeQuery : PageQuery {
        /// <summary>
        /// 是否是app 上架使用
        /// </summary>
        public bool is_type { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public long merchant_id { get; set; }
    }
    public class UserComsumeHisQuery : PageQuery
    {
        /// <summary>
        /// 消费类型枚举值
        /// </summary>
        public string consume_type_value { get; set; }

        /// <summary>
        /// 附加信息(根据消费类型,附加信息有所不同; 加油卡充值:加油卡卡号, 商品兑换:商品名称)
        /// </summary>
        public string info { get; set; }

        /// <summary>
        /// 兑换商品 商品Id
        /// </summary>
        public string product_id { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string mobile { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string begin_time { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string end_time { get; set; }

    }

    public class ConsumeProductQuery : PageQuery
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string begin_time { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string end_time { get; set; }
    }

    public class consume_product_query
    {
        /// <summary>
        /// 商品Id
        /// </summary>
        public long product_id { get; set; }
    }

}
